package com.zhuiyun.project.api.appusermessage.service;

import com.zhuiyun.project.api.appusermessage.model.UserMessageModel;
import com.zhuiyun.project.common.response.CommonResult;
import org.springframework.web.multipart.MultipartFile;

/**
 * @ClassName UserMessageService
 * @Description TODO
 * @Author Root
 * @Date 2023/6/26 11:41
 **/
public interface UserMessageService {
    /**
    * @Author Root
    * @Description 通过id获取用户信息
    * @Date 2023/7/24 19:22
    * @Return com.zhuiyun.project.common.response.CommonResult
    * @param id
    */
    CommonResult getUserById(Integer id);
    /**
    * @Author Root
    * @Description 修改用户的个人信息
    * @Date 2023/7/24 19:22
    * @Return com.zhuiyun.project.common.response.CommonResult
    * @param goodsImg
    * @param userMessageModel
    */
    CommonResult updateUser(MultipartFile goodsImg, UserMessageModel userMessageModel);

    CommonResult updateMessage(UserMessageModel userMessageModel);
}
